import * as types from '../mutation-types'

const state = {  
    showLoading:false  
}  
  
const mutations = {  
    [SHOWLOADING](state){  
        state.showLoading = true;  
    },  
    [HIDELOADING](state){  
        state.showLoading = false;  
    }  
}  
  
const getters = {  
    showLoading(state){  
        return state.showLoading  
    }  
}  
  
export default {  
    state,mutations,getters  
}  